登录
dnrops/HTTP-Response-Date
关注点赞复刻(Fork)
  • 主页
  • 代码库
  • 疑修(Issue)
  • 合并请求(PR)
  • 流水线(devops)
  • 里程碑
  • 维基(Wiki)
  • 动态
目录
master
分支1
标签2
+ 疑修
Web IDE
Jeremy Saklad

Add Foundation.HTTPURLResponse.date(forDateValue:)

This function accepts an HTTP-date string and parses it into a Date object.

HTTPURLResponse.date has been refactored to use the new function.

The unit tests have been simplified using this new function as well.

4年前5次提交
  • .swiftpmInitial Commit5年前
  • SourcesAdd Foundation.HTTPURLResponse.date(forDateValue:)4年前
  • TestsAdd Foundation.HTTPURLResponse.date(forDateValue:)4年前
  • .gitignoreInitial Commit5年前
  • LICENSE.txtInitial Commit5年前
  • Package.swiftInitial Commit5年前
  • README.mdInitial Commit5年前
README.md

HTTP Response Date

This package adds a date property to HTTPURLResponse, which can be used to retrieve the contents of the date header field. It is fully-compliant with RFC 2616, so it can be relied upon to work properly.

关于
swift
README.md
47.0 KB
邀请码