Skip to content
  • ntome's avatar
    [cmso] fix market invests and fetch pea invests · bced25da
    ntome authored and Romain Bignon's avatar Romain Bignon committed
    The do_login cleared all headers, including User-Agent, but the site
    spits 500s when this header is missing.
    
    Also, 'application/json' was set for all requests, even GET requests and
    form POSTs. Set it only for requests posting json.
    
    PEA accounts are parsed the same way as MARKET accounts.
    bced25da