← Back to team overview

ubuntu-appstore-developers team mailing list archive

Re: Translations of metadata

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 26/06/13 17:52, Martin Albisetti wrote:
> On Wed, Jun 26, 2013 at 1:03 PM, James Tait
> <james.tait@xxxxxxxxxxxxx> wrote:
>> 
>> A request to /api/v1/search?q=foo with a header "Accept-Language:
>> es" would cause the Index to query Solr with "?q=text_es:foo".
> 
> 
> Awesome as well. I was thinking that maybe if instead of a header
> we'd use a query string, it would be easier to test/qa/etc.

I actually thought of handling both - if it's in the query string it
overrides the header.  I'm a little wary of things like caching,
though, so I need to think about etags and Varies headers....

JT
- -- 
James Tait, BSc. | https://launchpad.net/~jamestait/
Software Engineer, Canonical Online Services, Web and Ops Team
Ubuntu - Linux for human beings | www.ubuntu.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlHLHVgACgkQyDo4xMNTLibbtQCfXJqUGsqZE78QSAO0SxLeeUIS
EwQAn14gjmlDsgk7pSBwh9rYm3AXSvR9
=QYDb
-----END PGP SIGNATURE-----


Follow ups

References