Re: [go-nuts] HTTP request reading

2021-04-30 Thread Amit Saha
> On 29 Apr 2021, at 11:27 pm, K. Alex Mills wrote: > > Partial responses inline, HTH. > > On Thu, Apr 29, 2021, 6:09 AM Amit Saha > wrote: > Hi all, when an incoming request comes in, does the ListenAndServe() > function read the first line (as explained in > ht

Re: [go-nuts] HTTP request reading

2021-04-29 Thread K. Alex Mills
Partial responses inline, HTH. On Thu, Apr 29, 2021, 6:09 AM Amit Saha wrote: > Hi all, when an incoming request comes in, does the ListenAndServe() > function read the first line (as explained in > https://developer.mozilla.org/en-US/docs/Web/HTTP/Messages) to figure > out whether there is a ha

[go-nuts] HTTP request reading

2021-04-29 Thread Amit Saha
Hi all, when an incoming request comes in, does the ListenAndServe() function read the first line (as explained in https://developer.mozilla.org/en-US/docs/Web/HTTP/Messages) to figure out whether there is a handler registered or not for the path and then simply hands it over to the handler (if the