-
Notifications
You must be signed in to change notification settings - Fork 366
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
Adding back missing Request and Response fields #78
Adding back missing Request and Response fields #78
Conversation
Following shelf's lead, I'd like to make these part of the |
@nex3 works for me! If that's the case then next up is the dart:io client. I have some stuff for that locally. So with that is there a preference for the name within context for those values? |
I think |
@nex3 do we care about reasonPhrase anymore? Should it end up in the context of the returned |
I think |
K works for me. I'm also wondering if |
It makes sense to expose that information, but I don't know that it makes sense to use the same name since the meaning is different. Maybe call it |
Maybe |
Yeah, I like that. |
73cfddb
to
92b37ee
Compare
@nex3 good to go. |
Shouldn't |
Its only in the headers when there is a redirect or a newly created resource. I verified it through https://httpbin.org/ 's methods and only saw it if redirects were off. Change the name? |
Maybe we should just have it be |
Okay so I don't think I have some local patches to enable the Request when
So Now if
With the redirect followed With this information I'm leaning towards moving |
I don't like the idea of using the name |
And named changed as requested. Can't think of a better name for it 🤷♂️ |
Is this ready to land now? |
Yep |
There were a few fields that were not present in previous pull requests.
Also wondering if
persistentConnection
,followRedirects
, andmaxRedirects
should be modifiable within thechange
method ofRequest
.