Skip to content

Conversation

@johnnyshields
Copy link
Contributor

@johnnyshields johnnyshields commented Feb 4, 2026

net-http v0.7.0 (released Oct 2025) removed the automatic Content-Type: application/x-www-form-urlencoded header for POST requests. Without this header, GMO servers can't parse form parameters, resulting in errors like E01190001 "Site ID not specified".

問題: net-http v0.7.0(2025年10月リリース)で、POSTリクエストのContent-Type: application/x-www-form-urlencodedヘッダーの自動付与が廃止されました。このヘッダーがないと、GMOサーバーがフォムパラメータを解析できず、E01190001「SiteIDが指定されていません」などのエラーが発生します。

net-http Content-Type Change

Version: v0.7.0
Released: October 31, 2025
PR: ruby/net-http#207 - "Don't set content type by default"

@jiikko jiikko merged commit 9fc6350 into t-k:master Feb 4, 2026
7 checks passed
@jiikko jiikko mentioned this pull request Feb 9, 2026
2 tasks
@jiikko
Copy link
Collaborator

jiikko commented Feb 9, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants