Code, data, at QR na tool

Sanggunian ng HTTP Headers

I-filter ang mga karaniwang HTTP header, tingnan ang direksyon at gamit, at kopyahin ang pangalan para sa dokumentasyon o implementation.

Lokal na pinoproseso sa browserHindi kailangan ng accountMga detalye ng pagkapribado ↗

Maghanap ayon sa pangalan, kategorya, o gamit. Sa browser lang ginagawa ang lahat.

Acceptcontent

Describes the media types the client can process.

Request at response
Accept-Encodingcontent

Lists content codings the client can decode.

Kahilingan
Authorizationsecurity

Carries credentials for the requested resource.

Kahilingan
Cache-Controlcaching

Controls caching rules for browsers and intermediaries.

Request at response
Content-Lengthcontent

Gives the size of the message body in bytes.

Request at response
Content-Typecontent

Describes the media type and optional character set of the body.

Request at response
Cookiecookies

Sends stored cookies to the server for the current domain.

Kahilingan
ETagconditional

Identifies a specific representation for cache validation.

Tugon
Hostgeneral

Identifies the host and optional port targeted by the request.

Kahilingan
If-None-Matchconditional

Makes a request conditional on an ETag not matching.

Kahilingan
If-Modified-Sinceconditional

Requests a response only when a representation changed after a date.

Kahilingan
Locationgeneral

Provides a URL for redirects or a newly created resource.

Tugon
Origincors

Identifies the origin that initiated a request.

Kahilingan
Referergeneral

Identifies the address of the page that made the request.

Kahilingan
Set-Cookiecookies

Asks the browser to store a cookie.

Tugon
Strict-Transport-Securitysecurity

Tells browsers to use HTTPS for a host for a period of time.

Tugon
User-Agentgeneral

Identifies the client software making the request.

Kahilingan
Varycaching

Lists request headers that affect representation selection.

Tugon
WWW-Authenticatesecurity

Defines an authentication challenge for a protected resource.

Tugon
X-Content-Type-Optionssecurity

Prevents MIME sniffing when set to nosniff.

Tugon

Paano gamitin

Paano gamitin

  1. Maghanap ayon sa pangalan o gamit ng header, o pumili ng direksyon at kategorya.
  2. Basahin ang paglalarawan at tingnan kung para ito sa request, response, o pareho.
  3. Kopyahin ang pangalan ng header para sa dokumentasyon o implementation.

Nakatutok na HTTP header reference

Kasama ang karaniwang standard, CORS, security, caching, content, at conditional request header. Praktikal na lookup ito at hindi kapalit ng specification.

Mahalaga ang direksyon

May header na ipinapadala ng client, ng server, o maaaring gamitin sa parehong direksyon. Nakakatulong ang direction filter para maiwasan ang maling paggamit.

Lokal na tumatakbo

Kasama sa page ang reference data. Hindi ipinapadala sa server ang query o napiling header kapag naghahanap, nagfi-filter, o kumokopya.

Mga madalas itanong

Maaari mo ring alamin

Kasama ba ang lahat ng rehistradong HTTP header?

Hindi. Nakatuon ito sa karaniwang header para sa web development at ilang itinatag na security at CORS header.

Magagamit ba ang bawat header sa parehong direksyon?

Hindi. Tingnan ang direction label. Ang request header ay mula sa client at ang response header ay mula sa server.

Kumokontak ba sa server ang paghahanap?

Hindi. Lokal sa browser tumatakbo ang data at lahat ng interaction.