Bruno,
do you remember, by any chance:
1) what is the meaning of X-PSICQUIC-Supports-Compression
header field ?
I'm afraid, 'Whether the service supports compression' (as
stated in the documentation) isn't too informative :o/ Is it
somehow supposed to duplicate the standard HTTP compression
functionality - see:
http://en.wikipedia.org/wiki/HTTP_compression
or is it to be used for something completely different ?
2) why is the functionality of
/search/formats
duplicated by a header field:
X-PSICQUIC-Supports-Formats
is every response to every rest query supposed to spit out
the list of supported formats ? why isn't the /service/formats
request not enough ???
thanks,
lukasz
--
-------------------------------------------------------------------------
Lukasz Salwinski PHONE: 310-825-1402
UCLA-DOE Institute for Genomics & Proteomics FAX: 310-206-3914
UCLA, Los Angeles EMAIL: luk...@mbi.ucla.edu
-------------------------------------------------------------------------
Hi!
Now I remember more about the compression. Originally, you could just get a compressed version of mitab (the tab-bin format), so before creating a *bin version of the formats available, we created the option to compress every possible output. If I remember correctly, you can just passed the parameter compressed=y to the URL of the rest reference implementation.
This made huge savings on bandwidth, making the aggregators such as PSICQUIC View more efficient and faster. We are talking here about 15-20% reduction of the amount of data passed through the wire (at the expense of some CPU at the server to compress the output).
However, just checking at the code, this compression is not implemented in the SOLR version of the ws, whereas you can find it in the original one:
In the new version, the "compressed" parameter is not used at all in the methods:
Hence, the header parameter for X-PSICQUIC-Supports-Compression for the SOLR service should be false. Was there a specific reason why the compression was not added in the new version? Or it just was an oversight?
In any case, this means that probably no-one is using the functionality and a serious case to drop it altogether makes sense. In many cases, depending on the configuration of the server, the gzip/deflate is done automatically, though the non-browser clients require extra configuration to make use of this.
Cheers,
Bruno
--
--
You received this message because you are subscribed to the Google
Groups PSICQUIC group.
To post to this group, send email to psic...@googlegroups.com
To unsubscribe from this group, send email to
psicquic+unsubscribe@googlegroups.com
http://psicquic.googlecode.com
--- You received this message because you are subscribed to the Google Groups "psicquic" group.
To unsubscribe from this group and stop receiving emails from it, send an email to psicquic+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Ok, so then we can just remove both the unnecessary header and the unused argument in the methods, and the related documentation line. Is everybody happy with this? Could do it myself later...
Cheers
Bruno