You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
300 B

# encoding: utf-8
from __future__ import absolute_import, unicode_literals
from rest_framework import parsers
class RawParser(parsers.BaseParser):
"""
Parses Raw data.
"""
media_type = '*/*'
def parse(self, stream, media_type=None, parser_context=None):
return stream