0
現在、私はuber.yamlを実行中ですhereです。私は現在、期待値に対する実際の不一致を取得しています:期待通りの結果と実際の結果との不一致Dredd
expected:
headers:
Content-Type: application/json
actual:
statusCode: 301
headers:
server: nginx
date: Tue, 13 Dec 2016 20:32:28 GMT
content-type: text/html
content-length: 178
location: https://api.uber.com/v1/history
connection: close
age: 0
誰もがこの問題を解決する方法を知っていますか?私は次のように予想されるコンテンツタイプを含めるようにuber.yamlを編集した:
- name: Content-Type
in: header
type: string
required: true
default: application/json