couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arturmazurek <...@git.apache.org>
Subject [GitHub] couchdb-couch pull request: Fix duplicated Content-Type for show/u...
Date Wed, 27 May 2015 18:30:25 GMT
Github user arturmazurek commented on a diff in the pull request:

    https://github.com/apache/couchdb-couch/pull/55#discussion_r31165173
  
    --- Diff: src/couch_httpd.erl ---
    @@ -30,6 +30,7 @@
     -export([send_json/2,send_json/3,send_json/4,last_chunk/1,parse_multipart_request/3]).
     -export([accepted_encodings/1,handle_request_int/5,validate_referer/1,validate_ctype/2]).
     -export([http_1_0_keep_alive/2]).
    +-export([add_default_headers_if_needed/2, add_header_if_needed/2]).
    --- End diff --
    
    I am unsure if I get this one, do you mean adding something like the following at the
end of this module? 
    
    ``` erlang
    -ifdef(TEST).
    add_default_headers_test() -> something.
    -endif.
    ```
    If yes, sure, will do.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message