Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Calling Signal entity HTTP API fails with content-type=application/json

オープン
#346 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
64/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
python
領域
api, backend

調査の方向性

まず、Signal entity HTTP API の処理を Durable entity context の get_input() 関数まで追跡し、文書化された Signal entity リクエストと報告された Content-Type の挙動を再現手順として使用します。application/json で JSON ペイロードが受け入れられることを確認しつつ、既存の text/plain の回避策の挙動を維持し、周辺のテストに適切なエントリーポイントがある場合は、両方のリクエスト形式のカバレッジを追加または更新します。

索引モデルが issue の本文から書いたものです。

説明

bug fixed-in-v2 P2
Context

In the http api documentation for signalling a durable entity it is stated that the request content (payload) should be JSON-formatted, implying that the Content-Type should be application/json.
Calling the API using this Content-Type=applicaton/json will throw an error in the get_input() function of the Durable entity context with the error "the JSON object must be str, bytes or bytearray, not dict"

How to reproduce

Call the API using Content-Type = application/json

Workaround

Call the API using Content-Type = text/plain

主要言語
Python
スター
157
フォーク
70
PR マージ指標
30日以内にマージされた PR はありません

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Azure/azure-functions-durable-python のほかの issue

Azure/azure-functions-durable-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。