It is unfortunate that I missed my error logs, but I'm glad you guys are 
taking a look at this!

I confirmed that removing the Host header with curl just gives a 400, so it 
can't but just this. I was using 1.0-RC4, so maybe it was related to #17992?

Thanks,
    ++nic


On Monday, July 20, 2015 at 10:41:48 AM UTC-3, Adam Shannon wrote:
>
> Johannes, 
>
> Yes, that seems to be the only issue left that I have. I'm not sure if 
> Nicolau is having any other issues. 
>
> On Mon, Jul 20, 2015 at 8:33 AM, 'Johannes Rudolph' via Akka User List <
> [email protected] <javascript:>> wrote:
>
>> Hi Adam,
>>
>> On Mon, Jul 20, 2015 at 3:25 PM, Adam Shannon <[email protected] 
>> <javascript:>> wrote:
>> > "All Internet-based HTTP/1.1 servers MUST respond with a 400 (Bad 
>> Request)
>> > status code to any HTTP/1.1 request message which lacks a Host header
>> > field."
>> >
>> > Is from RFC 2616
>> >
>> > I can confirm (the gist above) that akka-http is doing that with curl -H
>> > "host:"  However, what I haven't confirmed yet is what akka-http is 
>> doing
>> > with no Host header present.
>>
>> curl isn't sending any Host-header with the snippet you posted. From
>> curl's documentation:
>>
>> > Remove an internal header by giving a replacement without content on 
>> the right side of the colon, as in: -H "Host:".
>>
>> So, what is the remaining issue here?
>>
>> Is it that akka-http behaves well regarding the spec but logs some
>> spurious errors and "pretends" to respond with 500?
>>
>> Johannes
>>
>> --
>> >>>>>>>>>>      Read the docs: http://akka.io/docs/
>> >>>>>>>>>>      Check the FAQ: 
>> http://doc.akka.io/docs/akka/current/additional/faq.html
>> >>>>>>>>>>      Search the archives: 
>> https://groups.google.com/group/akka-user
>> ---
>> You received this message because you are subscribed to the Google Groups 
>> "Akka User List" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Adam Shannon | Software Engineer | Banno | Jack Henry
> 206 6th Ave Suite 1020 | Des Moines, IA 50309 | Cell: 515.867.8337
>  

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to