cytoscape / py2cytoscape

Python utilities for Cytoscape and Cytoscape.js
https://py2cytoscape.readthedocs.io
MIT License
178 stars 45 forks source link

201 shouldn't be considered an error #58

Closed dotasek closed 6 years ago

dotasek commented 6 years ago

The 201 HTTP code appears to be treated as an error here: https://github.com/cytoscape/py2cytoscape/blob/61fcae356c611bd9df77011062e34570ec491140/py2cytoscape/cyrest/base.py#L45

This is a successful created response; shouldn't this be treated as a successful request?