Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Removing the HTTP_Request2 package. #894

Merged
merged 93 commits into from
Oct 20, 2016
Merged

Conversation

sergey-shandar
Copy link
Contributor

No description provided.

@sergey-shandar
Copy link
Contributor Author

Partly #797

@sergey-shandar sergey-shandar added this to the October 2016 (0.5.0) milestone Oct 20, 2016
@sergey-shandar sergey-shandar self-assigned this Oct 20, 2016
@azuresdkci
Copy link
Contributor

Can one of the admins verify this patch?

* @param IHttpClient $request HTTP channel object.
* @param \HTTP_Request2_Response $response HTTP response object.
* @param IHttpClient $request HTTP channel object.
* @param ResponseInterface $response HTTP response object.
Copy link
Member

Choose a reason for hiding this comment

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

why don't you use IHttpResponse instead? that will be more consistent

Copy link
Member

Choose a reason for hiding this comment

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

Ignore this if the definition is from Guzzle.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ResponseInterface is defined in PSR 7 http://www.php-fig.org/psr/psr-7/ and it has all functionality that we need. I don't see a point to create a wrap on top of it. But we may wrap in the future if we have a good reason for it.

@@ -25,7 +25,8 @@

namespace Tests\framework;
Copy link
Member

Choose a reason for hiding this comment

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

No need to fix the storage test files. You can just get rid of them.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I will :-) May be in next PR.

@yaqiyang
Copy link
Member

also, I would prefer to squash the commits since you have 93 of them on this branch.

@sergey-shandar
Copy link
Contributor Author

NP. I can squash it because I don't have branches which depends on this one.

@sergey-shandar sergey-shandar merged commit 22f9494 into master Oct 20, 2016
@sergey-shandar sergey-shandar deleted the sergey-shandar-pear2 branch October 20, 2016 23:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants