HTML/CSS/Reference/URL encoding — различия между версиями

Материал из Web эксперт
Перейти к: навигация, поиск
м (1 версия)
 
м (1 версия)
 
(нет различий)

Текущая версия на 08:16, 26 мая 2010

1xx: Information

Message:                     Description:
100 Continue                 Only a part of the request has been received by 
                             the server, but as long as it has not been rejected, 
                             the client should continue with the request
101 Switching Protocols      The server switches protocol



2xx: Successful

Message:                       Description:
200 OK                         The request is OK
201 Created                    The request is complete, and a new resource 
                               is created 
202 Accepted                   The request is accepted for processing, but the 
                               processing is not complete
203 Non-authoritative          Information   
204 No Content   
205 Reset Content    
206 Partial Content



3xx: Redirection

Message:                         Description:
300 Multiple Choices            A link list. The user can select a 
                                 link and go to that location. 
                                 Maximum five addresses  
                                 
301 Moved Permanently            The requested page has moved to a new url 
302 Found                        The requested page has moved temporarily 
                                 to a new url 
303 See Other                    The requested page can be found under a 
                                 different url 
304 Not Modified    
305 Use Proxy    
306 Unused                        This code was used in a previous version. 
                                 It is no longer used, but the code is reserved
307 Temporary Redirect            The requested page has moved temporarily to a new url



4xx: Client Error

Message:                            Description:
                                    
400 Bad Request                   The server did not understand the request
                                    
401 Unauthorized                   The requested page needs a username and a password
                                    
402 Payment Required               You can not use this code yet
                                    
403 Forbidden                       Access is forbidden to the requested page
                                    
404 Not Found                       The server can not find the requested page
405 Method Not Allowed               The method specified in the request is not allowed
406 Not Acceptable                   The server can only generate a response that 
                                    is not accepted by the client
407 Proxy Authentication Required   You must authenticate with a proxy server before this request can be served
408 Request Timeout               The request took longer than the server was prepared to wait
409 Conflict                       The request could not be completed because of a conflict
410 Gone                           The requested page is no longer available 
411 Length Required               The "Content-Length" is not defined. The server will not accept the request without it 
412 Precondition Failed           The precondition given in the request evaluated to false by the server
413 Request Entity Too Large       The server will not accept the request, because the request entity is too large
414 Request-url Too Long           The server will not accept the request, because the url is too long. Occurs when you convert a "post" request to a "get" request with a long query information 
415 Unsupported Media Type           The server will not accept the request, because the media type is not supported 
416     
417 Expectation Failed



5xx: Server Error

Message:                        Description:
500 Internal Server Error       The request was not completed. The server met an 
                                unexpected condition
501 Not Implemented           The request was not completed. The server did not 
                                support the functionality required
502 Bad Gateway               The request was not completed. The server received 
                                an invalid response from the upstream server
503 Service Unavailable       The request was not completed. The server is 
                                temporarily overloading or down
504 Gateway Timeout           The gateway has timed out
505 HTTP Version Not Supported   The server does not support the "http protocol" 
                                version



URL-encoding from %00 to %8f

<table class="ex" border="1" cellspacing="0" width="100%">
    <tbody><tr>
      <th align="left">ASCII Value</th>
      <th align="left">URL-encode</th>
      <th align="left">ASCII Value</th>
      <th align="left">URL-encode</th>
      <th align="left">ASCII Value</th>
      <th align="left">URL-encode</th>
      </tr>
    <tr>
      <td>&#230;</td>
      <td>%00</td>
      <td>0</td>
      <td>%30</td>
      <td>`</td>
      <td>%60</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>%01</td>
      <td>1</td>
      <td>%31</td>
      <td>a</td>
      <td>%61</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>%02</td>
      <td>2</td>
      <td>%32</td>
      <td>b</td>
      <td>%62</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>%03</td>
      <td>3</td>
      <td>%33</td>
      <td>c</td>
      <td>%63</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>%04</td>
      <td>4</td>
      <td>%34</td>
      <td>d</td>
      <td>%64</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>%05</td>
      <td>5</td>
      <td>%35</td>
      <td>e</td>
      <td>%65</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>%06</td>
      <td>6</td>
      <td>%36</td>
      <td>f</td>
      <td>%66</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>%07</td>
      <td>7</td>
      <td>%37</td>
      <td>g</td>
      <td>%67</td>
    </tr>
    <tr>
      <td>backspace</td>
      <td>%08</td>
      <td>8</td>
      <td>%38</td>
      <td>h</td>
      <td>%68</td>
    </tr>
    <tr>
      <td>tab</td>
      <td>%09</td>
      <td>9</td>
      <td>%39</td>
      <td>i</td>
      <td>%69</td>
    </tr>
    <tr>
      <td>linefeed</td>
      <td>%0a</td>
      <td>:</td>
      <td>%3a</td>
      <td>j</td>
      <td>%6a</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>%0b</td>
      <td>;</td>
      <td>%3b</td>
      <td>k</td>
      <td>%6b</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>%0c</td>
      <td>&lt;</td>
      <td>%3c</td>
      <td>l</td>
      <td>%6c</td>
    </tr>
    <tr>
      <td>c return</td>
      <td>%0d</td>
      <td>=</td>
      <td>%3d</td>
      <td>m</td>
      <td>%6d</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>%0e</td>
      <td>&gt;</td>
      <td>%3e</td>
      <td>n</td>
      <td>%6e</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>%0f</td>
      <td>?</td>
      <td>%3f</td>
      <td>o</td>
      <td>%6f</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>%10</td>
      <td>@</td>
      <td>%40</td>
      <td>p</td>
      <td>%70</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>%11</td>
      <td>A</td>
      <td>%41</td>
      <td>q</td>
      <td>%71</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>%12</td>
      <td>B</td>
      <td>%42</td>
      <td>r</td>
      <td>%72</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>%13</td>
      <td>C</td>
      <td>%43</td>
      <td>s</td>
      <td>%73</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>%14</td>
      <td>D</td>
      <td>%44</td>
      <td>t</td>
      <td>%74</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>%15</td>
      <td>E</td>
      <td>%45</td>
      <td>u</td>
      <td>%75</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>%16</td>
      <td>F</td>
      <td>%46</td>
      <td>v</td>
      <td>%76</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>%17</td>
      <td>G</td>
      <td>%47</td>
      <td>w</td>
      <td>%77</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>%18</td>
      <td>H</td>
      <td>%48</td>
      <td>x</td>
      <td>%78</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>%19</td>
      <td>I</td>
      <td>%49</td>
      <td>y</td>
      <td>%79</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>%1a</td>
      <td>J</td>
      <td>%4a</td>
      <td>z</td>
      <td>%7a</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>%1b</td>
      <td>K</td>
      <td>%4b</td>
      <td>{</td>
      <td>%7b</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>%1c</td>
      <td>L</td>
      <td>%4c</td>
      <td>|</td>
      <td>%7c</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>%1d</td>
      <td>M</td>
      <td>%4d</td>
      <td>}</td>
      <td>%7d</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>%1e</td>
      <td>N</td>
      <td>%4e</td>
      <td>~</td>
      <td>%7e</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>%1f</td>
      <td>O</td>
      <td>%4f</td>
      <td>&nbsp;</td>
      <td>%7f</td>
    </tr>
    <tr>
      <td>space</td>
      <td>%20</td>
      <td>P</td>
      <td>%50</td>
      <td>&#8364;</td>
      <td>%80</td>
    </tr>
    <tr>
      <td>!</td>
      <td>%21</td>
      <td>Q</td>
      <td>%51</td>
      <td>&nbsp;</td>
      <td>%81</td>
    </tr>
    <tr>
      <td>"</td>
      <td>%22</td>
      <td>R</td>
      <td>%52</td>
      <td>&#8218;</td>
      <td>%82</td>
    </tr>
    <tr>
      <td>#</td>
      <td>%23</td>
      <td>S</td>
      <td>%53</td>
      <td>&#402;</td>
      <td>%83</td>
    </tr>
    <tr>
      <td>$</td>
      <td>%24</td>
      <td>T</td>
      <td>%54</td>
      <td>&#8222;</td>
      <td>%84</td>
    </tr>
    <tr>
      <td>%</td>
      <td>%25</td>
      <td>U</td>
      <td>%55</td>
      <td>&#8230;</td>
      <td>%85</td>
    </tr>
    <tr>
      <td>&amp;</td>
      <td>%26</td>
      <td>V</td>
      <td>%56</td>
      <td>&#8224;</td>
      <td>%86</td>
    </tr>
    <tr>
      <td>"</td>
      <td>%27</td>
      <td>W</td>
      <td>%57</td>
      <td>&#8225;</td>
      <td>%87</td>
    </tr>
    <tr>
      <td>(</td>
      <td>%28</td>
      <td>X</td>
      <td>%58</td>
      <td>&#710;</td>
      <td>%88</td>
    </tr>
    <tr>
      <td>)</td>
      <td>%29</td>
      <td>Y</td>
      <td>%59</td>
      <td>&#8240;</td>
      <td>%89</td>
    </tr>
    <tr>
      <td>*</td>
      <td>%2a</td>
      <td>Z</td>
      <td>%5a</td>
      <td>&#352;</td>
      <td>%8a</td>
    </tr>
    <tr>
      <td>+</td>
      <td>%2b</td>
      <td>[</td>
      <td>%5b</td>
      <td>&#8249;</td>
      <td>%8b</td>
    </tr>
    <tr>
      <td>,</td>
      <td>%2c</td>
      <td>\</td>
      <td>%5c</td>
      <td>&#338;</td>
      <td>%8c</td>
    </tr>
    <tr>
      <td>-</td>
      <td>%2d</td>
      <td>]</td>
      <td>%5d</td>
      <td>&nbsp;</td>
      <td>%8d</td>
    </tr>
    <tr>
      <td>.</td>
      <td>%2e</td>
      <td>^</td>
      <td>%5e</td>
      <td>&#381;</td>
      <td>%8e</td>
    </tr>
    <tr>
      <td>/</td>
      <td>%2f</td>
      <td>_</td>
      <td>%5f</td>
      <td>&nbsp;</td>
      <td>%8f</td>
    </tr>
</tbody></table>