Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gohan_raw_http: string response body type #261

Merged
merged 1 commit into from
Jul 14, 2016
Merged

gohan_raw_http: string response body type #261

merged 1 commit into from
Jul 14, 2016

Conversation

marcin-ptaszynski
Copy link
Contributor

Type []byte is converted to array of numbers in otto, which results
in obfuscated logs, requires manual conversion to String type
in order to work with response body and is generally a bad idea.

In this commit, Gohan automatically converts arrived data to string
and adds missing documentation for gohan_raw_http.

@nati
Copy link
Contributor

nati commented Jul 12, 2016

could you rebase with master?

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.03%) to 59.19% when pulling 3933978 on marcin-ptaszynski:raw-http-string-body into baacf68 on cloudwan:master.

Type []byte is converted to array of numbers in otto, which results
in obfuscated logs, requires manual conversion to String type
in order to work with response body and is generally a bad idea.

In this commit, Gohan automatically converts arrived data to string
and adds missing documentation for gohan_raw_http.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 59.201% when pulling a6d5d8c on marcin-ptaszynski:raw-http-string-body into e469e87 on cloudwan:master.

@marcin-ptaszynski
Copy link
Contributor Author

@nati , rebased.

@nati nati merged commit 75806bc into cloudwan:master Jul 14, 2016
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.

3 participants