HTTP status value naming normalization
Registered by
Victor Ordaz
There are many place in Swift code where used hard coded values, such as response statuses (200, 201, 404, ...) which can replaced with constants HTTP_OK, HTTP_CREATED, HTTP_NOT_FOUND. Also there is widly used idiom 200 <= status < 300, that can be replaced as well with something like this is_success(status). I want add modules for defining all required constants (Swift, HTTP).
So I think this changes will improve Swift code readability.
PS: this is an initial changes in github https:/
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- None
- Direction:
- Approved
- Assignee:
- None
- Definition:
- Approved
- Series goal:
- Accepted for folsom
- Implementation:
-
Implemented
- Milestone target:
-
1.5.0
- Started by
- John Dickinson
- Completed by
- John Dickinson
Related branches
Related bugs
Sprints
Whiteboard
(?)