<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>xibbar</author_name>
  <author_url>https://blog.hatena.ne.jp/xibbar/</author_url>
  <blog_title>福島餃子Ruby親方</blog_title>
  <blog_url>https://xibbar.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>gmailで困ったというメールが来たのでチケット化してみました。 https://bugs.ruby-lang.org/issues/8370 cgi.rbでは、一度にアップロードできるファイルサイズの上限を 定数で決めています。 CGI::MAX_MULTIPART_LENGTH = 128 * 1024 * 1024 件のメールでは、どうも、定数で上限が 決まっているから困ったと言っているようです。 しかし、Rubyは恐ろしいことに、定数は上書きラクショーです。 そのつもりで定数化しているのでした。 require 'cgi' CGI.class_eval{remove_const(:MA…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxibbar.hatenablog.com%2Fentry%2F20130505%2F1367757497&quot; title=&quot; CGIで128MBよりもデカイファイルをアップロードするには（定数の変更） - 福島餃子Ruby親方&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-05-05 21:38:17</published>
  <title> CGIで128MBよりもデカイファイルをアップロードするには（定数の変更）</title>
  <type>rich</type>
  <url>https://xibbar.hatenablog.com/entry/20130505/1367757497</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
