Module: Parts
- Defined in:
- lib/apple-news/multipart_post_patch.rb
Overview
This is really shitty and no one should ever monkey patch, but the Apple News API requires that the size of the form part should be specified in the Content-Disposition header, and not with the Content-Length header. I’m not sure if size is even a valid param in the Content-Disposition header, but here we are.
Defined Under Namespace
Classes: FilePart