lib/riak/util/multipart.rb in riak-client-0.9.1 vs lib/riak/util/multipart.rb in riak-client-0.9.2

- old
+ new

@@ -9,16 +9,15 @@ # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -require 'riak' +require 'riak/util/headers' module Riak module Util # Utility methods for handling multipart/mixed responses module Multipart - autoload :StreamParser, "riak/util/multipart/stream_parser" extend self # Parses a multipart/mixed body into its constituent parts, including nested multipart/mixed sections # @param [String] data the multipart body data # @param [String] boundary the boundary string given in the Content-Type header def parse(data, boundary)