WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #35426, comment 7


Ignore:
Timestamp:
01/14/2016 04:34:35 AM (5 years ago)
Author:
rmccue
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35426, comment 7

    initial v1  
    1 @johnbillion That was actually intentional originally (I asked @joehoyle to leave them out), as it's almost impossible for those to get all the way up the stack. Additionally, you should probably never actually send them.
     1@johnbillion That was actually intentional originally (I asked @joehoyle to leave them out), as it's almost impossible for those to get all the way up the stack. Additionally, you should probably never actually send them. They're essentially transactional status codes that are only used to negotiate the connection. 100 Continue i.e. indicates the server is ready to receive the rest of the message, 101 Switching Protocols is used to upgrade protocols (e.g. to HTTP/2). Most of these won't be handled correctly if you send them from WP, and they should never escape the internal handling of WP_HTTP.
    22
    33That said, we might want them for coverage. If we have conflicts with keywords, I'd prefer we special-case those specific ones rather than all of them.