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

Support for setting cookies on 302 redirects #10

Merged
merged 1 commit into from May 4, 2011

Conversation

marekzebrowski
Copy link
Contributor

currently async-http-client does not support setting cookies on 302 redirect. Unfortunately this is required for some sites I track, based on Invision Power Board. That patch adds that support only for netty provider, but it is easy to port to others
This is example of that problem found in safari:
http://stackoverflow.com/questions/1144894/safari-doesnt-set-cookie-but-ie-ff-does

@jfarcand
Copy link
Contributor

jfarcand commented May 4, 2011

Looking...Thanks for submitting.

@jfarcand jfarcand merged commit 0ae1a68 into AsyncHttpClient:master May 4, 2011
cs-workco pushed a commit to cs-workco/async-http-client that referenced this pull request Apr 13, 2023
* some refactoring

motivation: better code structure

changes:
* abstract errors as enum instead of nested structs
* make configurationa nested class

* errors as static let

* * move request, response, task to be nested under HTTPClient
* rename HTTPResponseDelegate -> HTTPClientResponseDelegate
* adjust tests

* Update SwiftNIOHTTP.swift
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

Successfully merging this pull request may close these issues.

None yet

2 participants