diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-06-16 12:18:35 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-06-16 12:18:36 -0700 |
commit | 2075a0c27fa5cf4f9f03964d407dc015c1749a7e (patch) | |
tree | 361c26f8579dcd888a9f4e5b54f79534a9c3b608 /Documentation/technical | |
parent | Merge branch 'ow/config-mailmap-pathname' (diff) | |
parent | http: default text charset to iso-8859-1 (diff) | |
download | tgif-2075a0c27fa5cf4f9f03964d407dc015c1749a7e.tar.xz |
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/technical')
-rw-r--r-- | Documentation/technical/api-strbuf.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/technical/api-strbuf.txt b/Documentation/technical/api-strbuf.txt index 50690186d3..077a7096a4 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. +`strbuf_reencode`:: + + Replace the contents of the strbuf with a reencoded form. Returns -1 + on error, 0 on success. + `strbuf_tolower`:: Lowercase each character in the buffer using `tolower`. |