mcxiaoke / android-volley

DEPRECATED
4.29k stars 1.56k forks source link

fix missing headers with multiple values #127

Open sepbehroozi opened 8 years ago

sepbehroozi commented 8 years ago

hey there in some responses headers we have multiple Set-Cookie headers. volley always consider first value of these type of headers :

Header h = new BasicHeader(header.getKey(), header.getValue().get(0));

My solution is that we shouldn't consider only first item of header.getValue(). we should merge all values in array with ;

for more info about this bug and example see this

sepbehroozi commented 8 years ago

knock knock no one's here :|

michaem commented 8 years ago

Hi, man. Did you fix that?

sepbehroozi commented 8 years ago

Hey there Yes I've fixed that in a clone of this repository Here is the address :https://github.com/3pehrbehroozi/android-volley

michaem commented 8 years ago

Thx, man. I saw it)