1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-02-24 18:13:00 +01:00

10 Commits

Author SHA1 Message Date
Michael Dowling
668209c895 Getting tests working again. Removing more fluent interfaces.
Removing more fluent interfaces to make it easier to decorate
classes.
2014-09-08 21:35:11 -07:00
Michael Dowling
9a0a38096c Merge pull request #736 from jamiehannaford/url-combine-0-fix
Ensuring that '0' paths can be combined into empty URLs
2014-07-18 10:22:02 -07:00
Jamie Hannaford
0bfd7230a0 Ensuring that '0' paths can be combined into empty URLs 2014-07-16 13:30:30 +02:00
Michael Dowling
16767bf79a Fixing a slash URL normalization issue
When using multiple slashes in URLs, normalization caused them to be combined
into a single slash. This commit fixes that issue to work exactly how Chrome
handles these types of URLs. Closes #713.
2014-07-07 16:06:31 -07:00
Jamie Hannaford
597ca11dd1 Make sure path leading slashes aren't added for empty hosts 2014-07-07 16:04:35 +02:00
Michael Dowling
b30ce5d514 Making clients more immutable
- Removing getConfig() and setConfig() from clients to avoid confusion around
  whether things like base_url, message_factory, etc should be able to be
  retrieved from getConfig() or modified using setConfig().
- Adding getDefaults() and setDefaultValue() to customize default request
  options of a client.
- Updating Url class to check if a scheme and host are set before adding
  ":" and "//". This allows empty Url (e.g., "") to be serialized as "".
- Removing dead code from Url class.
- Adding a functions.php function for get_path and set_path so that these
  functions can be used on regular PHP arrays. Collection now proxies to these
  functions when Collection::(get|set)Path() is called.
- Resolves #599.
2014-03-21 12:37:32 -07:00
Michael Dowling
6427687b6e Adding a test to ensure that the scheme updates the port correctly 2014-03-06 09:33:00 -08:00
Michael Dowling
7fcf225d0e Fixing dot segment removal, how absolute URLs are detected, the namespace used for functions.php, and how segments of a path are returned 2014-02-21 11:47:05 -08:00
Michael Dowling
ae89ca3566 Fixing RFC 3986 URL resolution and dot-segments
Url::combine() now returns a new Url instance.
2014-02-19 15:28:22 -08:00
Michael Dowling
2b779dccb3 Moving some things like query and url up a NS 2014-02-16 21:02:54 -08:00