Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^4: Difference between LWP::UserAgent and AnyEvent::HTTP

by haukex (Archbishop)
on Sep 06, 2021 at 18:58 UTC ( [id://11136511]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Difference between LWP::UserAgent and AnyEvent::HTTP
in thread Difference between LWP::UserAgent and AnyEvent::HTTP

IIRC, MIME (used both for Mail and for HTTP) allows to invent non-standard "experimental" headers by prefixing them with "X-".

Correct, though its use is now discouraged - from RFC7231 (emphasis mine):

Authors of specifications defining new fields are advised to keep the name as short as practical and not to prefix the name with "X-" unless the header field will never be used on the Internet. (The "X-" prefix idiom has been extensively misused in practice; it was intended to only be used as a mechanism for avoiding name collisions inside proprietary software or intranet processing, since the prefix would ensure that private names never collide with a newly registered Internet name; see [BCP178] for further information).

And the linked RFC6648 is dedicated to discussing the deprecation, with some interesting background in the appendicies.

  • Comment on Re^4: Difference between LWP::UserAgent and AnyEvent::HTTP

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11136511]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-19 21:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found