Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple Response Headers is not working !!! #55

Closed
ihasanov opened this issue Jul 15, 2017 · 1 comment
Closed

Multiple Response Headers is not working !!! #55

ihasanov opened this issue Jul 15, 2017 · 1 comment

Comments

@ihasanov
Copy link

ihasanov commented Jul 15, 2017

I have spend hours and hours on this issue to find perfect solution and I found that Volley should have a function which return HttpUrlConnection (For example getConnection() )so it will be very helpful for developers to customize library and be able to use standard HttpUrlConnection ways like below:

For example to get response headers

Map<String, List<String>> headerFields = connection.getHeaderFields();
            List<String> cookiesHeader = headerFields.get(COOKIES_HEADER);
            if(cookiesHeader!=null){

                if (cookiesHeader != null) {
                    for (String cookie : cookiesHeader) {
                        Log.i("info",cookie);
                        msCookieManager.getCookieStore().add(null, HttpCookie.parse(cookie).get(0));
                    }
                }
            }
@jpd236
Copy link
Collaborator

jpd236 commented Jul 17, 2017

We should just fix multiple response headers in the standard library.

See #21

@jpd236 jpd236 closed this as completed Jul 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants