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

Question: Are there near-term plans for PSR-7 Message Interface compatibility? #320

Closed
skyzyx opened this issue Feb 26, 2018 · 7 comments · Fixed by #827
Closed

Question: Are there near-term plans for PSR-7 Message Interface compatibility? #320

skyzyx opened this issue Feb 26, 2018 · 7 comments · Fixed by #827

Comments

@skyzyx
Copy link
Contributor

skyzyx commented Feb 26, 2018

Are there near-term plans for PSR-7 Message Interface compatibility?

I'm developing some new software which leverages PSR-7 pretty heavily, and I'm wanting to write some tutorials for how to use it alongside Guzzle, Buzz, and Requests.

I know that Requests pre-dates PSR-7 by many years, but I didn't know if you had plans for a PSR-7 update.

@rmccue
Copy link
Collaborator

rmccue commented Mar 7, 2018

There's not really any near-term plans generally, as this project isn't on the front of my mind, but I do want to add PSR-7 some day. I had started work on a compatibility layer, and it was definitely possible, but we're missing the file streaming support which IIRC we need.

If you're interested in contributing to or helping maintain Requests, I could always use help. 😉

@mediaformat
Copy link

Bumping this in light of the recent v2 release

@jrfnl
Copy link
Member

jrfnl commented Nov 26, 2021

@mediaformat ;-)

First focus was to work through the technical debt which had build up over the years. Next focus is bug fixes and new features.

Let's discuss this and we'd be happy to consider PRs, though in this case, a discussion on how to implement it first would probably be best.

@Art4
Copy link

Art4 commented Aug 31, 2022

Is there interest in being able to use the library as a PSR-18 HTTP client? The basis for this would be a PSR-7 implementation and I would be interested in helping with this.

The background is that I am helping to refactor SimplePie and plan to deprecate the SimplePie_File class and allow the usage of PSR-18 HTTP client and PSR-17 RequestFactory.

@jrfnl
Copy link
Member

jrfnl commented Sep 4, 2022

@Art4 In my opinion that would be a useful addition. We have semi-regular maintainer calls/working sessions. I'll put it on the agenda to discuss in the next one (and you'd be welcome to join the call if you'd like to discuss it in person).

@Art4
Copy link

Art4 commented Sep 5, 2022

Thanks for the invitation, but I'm afraid my work schedule won't allow me to have an in-person call.

My biggest question to start with a first draft is how and where to put the PSR interfaces, because I suspect that a new non-dev dependency is not allowed in composer.json?

@Art4 Art4 mentioned this issue Sep 8, 2022
17 tasks
@Art4
Copy link

Art4 commented Sep 27, 2022

I was wondering if anyone could take a look at #768? I'm not quite done yet, but wanted to know if the direction is right.

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 a pull request may close this issue.

5 participants