Github user harishreedharan commented on the pull request:

    https://github.com/apache/spark/pull/5792#issuecomment-101798802
  
    Thanks @squito for taking a look. Yes, this lives in a separate servlet 
right now, as this was pre-JSON api getting pushed. From what I understand (I 
don't really have much idea about Jersey, so I am most likely wrong), the 
current code does not provide a way to return a file (the `JsonRootResource` 
seems to be able to return only JSON, as Jersey expects that). I think we could 
add another resource which can return files).
    
    I will add some tests - I wanted some feedback on the approach and the API 
before I did. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to