Forcing reqest parameters encoding in body



class Password(typesystem.String):

class Passwords(typesystem.Object):
    properties = {
        'old: Password,
        'new': Password,

def password_change_url(old: Password, new: Password):

def password_change_body(password: Passwords)

(sorry for the 0.3.9-ness I wasn’t able to make the transition to 0.4.x yet)

I was finally able to figure it out, but it wasn’t obvious to me that if a parameter is a typesystem.Object the request will expect to get its parameters in the request’s body, otherwise it will be URL encoded.

  1. Is this documented and I was simply missed it?
  2. Is there a simpler way to force body encoding?