mirror of
https://github.com/EDCD/EDDN.git
synced 2025-04-24 04:10:53 +03:00
* This code worked if the request was *properly* form-encoded, with a 'data' key whose value was a valid message. * It failed to detect where the request was form-encoded, with without a 'data' key. It would just assume 'not form-encoded' in that case, then fail later on JSON parsing. Thus, re-use the `urlparse.parse_qs()` check for form-encoded format. This passes: 1. Properly, `data` key, form-encoded with valid value is fully JSON parsed, schema checked and accepted. 2. *NOT* compressed *or* form-encoded valid message is properly parsed and accepted. 2. Uncompressed, form-encoded, but no `data` key correctly returns the same error status and body as the compressed+form-encoded+no data key path.
EDDN - Elite: Dangerous Data Network
The Elite: Dangerous Data Network is a system for willing Commanders to share dynamic data about the galaxy with others.
By pooling data in a common format, tools and analyses can be produced that add an even greater depth and vibrancy to the in-game universe.
EDDN is not run by or affiliated with Frontier Developments.
Hosting has been very generously provided by Vivio Technologies, until 2017.
Hosting is now provided by the EDCD community.
Using EDDN
EDDN Status
Description
Languages
Python
46.7%
JavaScript
24.2%
HTML
16.4%
Shell
12.2%
CSS
0.5%