Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
protocol_version method: fix for newer cowboy versions when cowboy is…
… used with mochiweb_request Newer Cowboy versions return HTTP version as 'HTTP/1.1' and 'HTTP1.0' atoms, instead of {1,1}, {1,0} as it was earlier. This commit converts atoms to old-fashioned tuples, works with both new and old cowboy versions.
- Loading branch information