Hacker News new | ask | show | jobs
by wojcikstefan 1634 days ago
> Maybe have a X-GET-QUERY header to indicate the type if GET request?

Note that using the "X-" prefix has been deprecated since 2012: https://datatracker.ietf.org/doc/html/rfc6648

1 comments

Wow, news to me. Thanks
Here's the relevant section of the guidelines: https://datatracker.ietf.org/doc/html/rfc6648#section-3

   Creators of new parameters to be used in the context of application
   protocols:

   1.  SHOULD assume that all parameters they create might become
       standardized, public, commonly deployed, or usable across
       multiple implementations.

   2.  SHOULD employ meaningful parameter names that they have reason to
       believe are currently unused.

   3.  SHOULD NOT prefix their parameter names with "X-" or similar
       constructs.

   Note: If the relevant parameter name space has conventions about
   associating parameter names with those who create them, a parameter
   name could incorporate the organization's name or primary domain name
   (see Appendix B for examples).