Skip to content

Changes for new iron version 0.7 with hyper 0.12#75

Open
zgtm wants to merge 1 commit into
iron:masterfrom
zgtm:0.7.0-pre
Open

Changes for new iron version 0.7 with hyper 0.12#75
zgtm wants to merge 1 commit into
iron:masterfrom
zgtm:0.7.0-pre

Conversation

@zgtm

@zgtm zgtm commented Feb 11, 2019

Copy link
Copy Markdown

This PR adapts to the changed types in iron (StatusCode, Request).

@zgtm zgtm self-assigned this Feb 11, 2019

@zgtm zgtm left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apparently somewhere something goes still wrong when reading GET query parameters.

Comment thread src/lib.rs
impl plugin::Plugin<Request> for UrlEncodedQuery {
type Error = UrlDecodingError;

fn eval(req: &mut Request) -> QueryResult {

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

req.url.query() seems to fail or something, at least in my testrun it did not give me any data …

@zgtm

zgtm commented Feb 17, 2019

Copy link
Copy Markdown
Author

Okay, PR iron/iron#604 fixes reading query strings form the response, so everything should work here, after it is merged!

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.

1 participant