Headers
Не спорьте с Сергеями!!!
alert((() => {
return test();
function test () {
return "hello world";
};
})())
alert((() => {
let a = test();
if (true) {
function test () {
return "hello world";
};
}
return a;
})())
<picture>
medium.jpg 1000w, large.jpg 2000w
Accept
- Accept-Charset
- Accept-Encoding
- Accept-Language
Accept: audio/*; q=0.2, audio/basic
Accept-Encoding: <compress | gzip | deflate | sdch | identity>
Accept-Encoding: compress, gzip Accept-Encoding: Accept-Encoding: * Accept-Encoding: compress;q=0.5, gzip;q=1.0 Accept-Encoding: gzip;q=1.0, identity; q=0.5, *;q=0
Range
Range: bytes=50000-99999,250000-399999,500000-
Range: bytes=50000-99999,250000-399999,500000-
Text
Accept-Ranges: bytes
Connection: closed | keep-alive
Cache-Control
Cache-Control: no-cache
Cache-Control: no-store
Cache-Control: max-age=3600
Cache-Control: max-stale=0
Cache-Control: min-fresh=0
Cache-Control: no-transform
Cache-Control: only-if-cached
Cache-Control: cache-extension
cache-request-directive
Cache
Expires
- If-Modified-Since
- If-Unmodified-Since
- Last-Modified
- ETag
Authorization
- Authorization
- Proxy-Authenticate
- Proxy-Authorization
Allow
OPTIONS · GET · HEAD · POST · PUT · DELETE · TRACE · CONNECT · PATCH
Vary
Vary
- DPR
- Width
- Viewport-Width
- Downlink
- Save-Data
How do they look like with HTTP 2.0?
100100111101011010001010100001010111001001000100010110101
But what if we convert to text?
JsdIE DFKsdflsdf==dfflef,dmfn.sef
Questions
HTTP Headers
By Vladimir
HTTP Headers
- 107