Skip to content
This repository has been archived by the owner on Mar 13, 2021. It is now read-only.

Handle Content-Type headers with a charset #30

Merged
merged 1 commit into from
Feb 20, 2018

Commits on Feb 20, 2018

  1. Handle Content-Type headers with a charset

    The Content-Type header can also contain a charset param.
    
    ```http
    Content-Type: text/plain; charset=utf-8
    ```
    
    Previously this would cause the gRPC handler to choke. Now the charset
    is ignored. In the future we should correctly parse the charset and
    decode the payload accordingly. For now, all text content is assumed to
    be utf-8.
    
    Fixes: projectriff#29
    scothis committed Feb 20, 2018
    Configuration menu
    Copy the full SHA
    7813058 View commit details
    Browse the repository at this point in the history