[HN Gopher] Httpwtf? (2021)
       ___________________________________________________________________
        
       Httpwtf? (2021)
        
       Author : fanf2
       Score  : 12 points
       Date   : 2024-07-17 20:42 UTC (2 hours ago)
        
 (HTM) web link (httptoolkit.com)
 (TXT) w3m dump (httptoolkit.com)
        
       | xg15 wrote:
       | Could someone explain why exactly the HTTP 103 header is such a
       | big deal?
       | 
       | Instead of                 HTTP/1.1 103 Early Hints       Link:
       | foo ...       Link: bar ...            <...time-consuming
       | processing...>            HTTP/1.1 200 OK       Baz: boo
       | <... actual response...>
       | 
       | what stops you from doing                 HTTP/1.1 200 OK
       | Link: foo ...       Link: bar ...       <...time-consuming
       | processing...>       Baz: boo       <... actual response...>
       | 
       | ?
       | 
       | The only actual new functionality I see is that you can send the
       | "early hints" headers before having to commit to a status code
       | for the response. Is that it?
        
         | jiggawatts wrote:
         | I think you answered your own question! What if the processing
         | times out and you need to send a 4xx code?
        
       | donatj wrote:
       | I've always wished trailers were more powerful. Namely I have
       | wished that they could contain Cookies.
       | 
       | It would make certain types of processing simpler and lighter
       | being able to stream SSR bodies as they are constructed rather
       | than all at once at the end.
        
       ___________________________________________________________________
       (page generated 2024-07-17 23:15 UTC)