path: root/Documentation
diff options
authorJunio C Hamano <>2014-06-16 19:18:35 (GMT)
committerJunio C Hamano <>2014-06-16 19:18:36 (GMT)
commit2075a0c27fa5cf4f9f03964d407dc015c1749a7e (patch)
tree361c26f8579dcd888a9f4e5b54f79534a9c3b608 /Documentation
parentc37d3269d92eedbdf405a6f196253d120e8e2721 (diff)
parentc553fd1c1ef76688b6200e66a825b530b0b02140 (diff)
Merge branch 'jk/http-errors'
Propagate the error messages from the webserver better to the client coming over the HTTP transport. * jk/http-errors: http: default text charset to iso-8859-1 remote-curl: reencode http error messages strbuf: add strbuf_reencode helper http: optionally extract charset parameter from content-type http: extract type/subtype portion of content-type t5550: test display of remote http error messages t/lib-httpd: use write_script to copy CGI scripts test-lib: preserve GIT_CURL_VERBOSE from the environment
Diffstat (limited to 'Documentation')
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/technical/api-strbuf.txt b/Documentation/technical/api-strbuf.txt
index 5069018..077a709 100644
--- a/Documentation/technical/api-strbuf.txt
+++ b/Documentation/technical/api-strbuf.txt
@@ -134,6 +134,11 @@ Functions
Strip whitespace from the beginning of a string.
+ Replace the contents of the strbuf with a reencoded form. Returns -1
+ on error, 0 on success.
Lowercase each character in the buffer using `tolower`.