Skip to content

Conversation

@spevans
Copy link
Contributor

@spevans spevans commented Jun 17, 2018

HTTPCookie fixes for version 0 cookies

  • For expiry date, prefer maximum-age over expires-date but only
    use maximum-age for version 1 cookies.

  • For version 0 cookies only return the first port number,
    if available.

NSURLRequest: Capitalise header names

  • Correctly override httpAdditionalHeaders headers with
    allHTTPHeaderFields.

NSURL fix checkResourceIsReachable()

  • If URL is a file, throw error with code .fileReadUnsupportedScheme
    instead of .fileNoSuchFile to match Darwin.

Disable tests that wont work on native Foundation

spevans added 4 commits June 15, 2018 23:07
- If URL is a file, throw error with code .fileReadUnsupportedScheme
  instead of .fileNoSuchFile to match Darwin.
- Correctly override httpAdditionalHeaders headers with
  allHTTPHeaderFields.
- For expiry date, prefer maximum-age over expires-date but only
  use maximum-age for version 1 cookies.

- For version 0 cookies only return the first port number,
  if available.
@spevans
Copy link
Contributor Author

spevans commented Jun 17, 2018

@swift-ci please test

@parkera parkera merged commit 4c3ca09 into swiftlang:master Jun 20, 2018
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.

2 participants