Revision 5327
Added by Matt Jones over 14 years ago
src/edu/ucsb/nceas/metacat/restservice/ResourceHandler.java | ||
---|---|---|
581 | 581 |
|
582 | 582 |
// TODO: For updates, need to check if the old id exists, and if not throw an exception |
583 | 583 |
|
584 |
// TODO: Change this to read the MIME forms that are created
|
|
584 |
// Read the incoming data from its Mime Multipart encoding
|
|
585 | 585 |
logMetacat.debug("Disassembling MIME multipart form"); |
586 | 586 |
InputStream object = null; |
587 | 587 |
InputStream sysmeta = null; |
... | ... | |
605 | 605 |
} |
606 | 606 |
} |
607 | 607 |
|
608 |
// TODO: access control!
|
|
608 |
// TODO: access control -- should be in CrudService et al. I think
|
|
609 | 609 |
//if (username != null && !username.equals("public")) { |
610 | 610 |
if (username != null) { |
611 | 611 |
|
Also available in: Unified diff
Added comment about MIME form processing.