code: def create_paste(self, content):
          
          r = requests.post(
              self.endpoint + '/pastes',
              data={'content': content},
              allow_redirects=False)
  
          if r.status_code == 302:
              return r.headers['Location']
  
          if r.status_code == 413:
              raise MaxLengthExceeded('%d bytes' % len(content))
  
          try:
              error_message = r.json()['error']
          except Exception:
              error_message = r.text
  
          raise UnexpectedError(error_message)
docs: Create a raw paste of the given content.
  
          Returns a URL to the paste, or raises a ``pasteraw.Error`` if something
          tragic happens instead.