Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Zencoder failing behind proxy which injects an incorrect Content-Type header #21

Open
@craiga

Description

@craiga

I'm seeing some odd behaviour when I send a request to Zencoder from behind our corporate proxy.

It looks like an extra setContent-Type header is being set, which causes Zencoder to throw aServices_Zencoder_Exception with the messageUnexpected content type: text/html (HTTP/1.1 100 Continue).

The response looks like this:

HTTP/1.0 200 Connection EstablishedContent-Type: text/htmlVia: 1.0 ABCDEFGHIJKConnection: Keep-AliveProxy-Connection: Keep-AliveHTTP/1.1 100 ContinueHTTP/1.1 201 CreatedServer: ZenServer 0.1.9Date: Thu, 15 Jan 2015 03:45:48 GMTContent-Type: application/json; charset=utf-8Content-Length: 184Connection: closeStrict-Transport-Security: max-age=31536000X-Zencoder-Rate-Remaining: 1000ETag: "235caea52f485e3baf42c44482bde6af"Access-Control-Allow-Origin: *Access-Control-Allow-Methods: GET, POST, PUT, DELETEAccess-Control-Allow-Headers: Zencoder-Api-KeyAccess-Control-Max-Age: 300Cache-Control: private, max-age=0, must-revalidate{"id":136990733,"outputs":[{"id":408898097,…

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp