Comments (7)
Hi, @harababurel. I would like to pick this up. 😃
from gcsf.
Great news! Let me know if I can be of any help.
from gcsf.
Noticed that we use hyper
for network requests and that we'll have to pass the headers on every request that we make to Google Drive. Looking at how I can do that now.
Did you have any ideas on the approach to take?
from gcsf.
Line 27 in 574f3fd
gcsf uses hyper
with the google_drive3
Crate, I don't see how we can add the gzip
. I've only found something related to gzip in the hyper
Crate here:
I hope this helps!
from gcsf.
Thanks for the pointer!
I think the link shows that we can indeed use gzip
by appending it to the headers when forming the request. The piece of code in the snippet checks that chunked
is appended to Transfer Encoding
when it is passed in as a header.
Gotten this from req.headers_mut().insert("content-type", HeaderValue::from_str("application/json")?);
from the Hyper docs. Looking at how to integrate it with what we have.
from gcsf.
Haven't gotten any further with this, @harababurel - apologies for not speaking up sooner.
from gcsf.
No worries -- I haven't had much time lately to work on the project either.
from gcsf.
Related Issues (20)
- Transport endpoint is not connected HOT 1
- Provide instructions for headless systems/servers HOT 2
- libssl-dev is required in ubuntu systems HOT 1
- Random unmounts
- Doesn't work with kopia HOT 3
- Google Drive: Operation not permitted - fuse.conf problems HOT 2
- Cannot login HOT 7
- Out of memory: Killed process xxxx (gcsf) HOT 5
- google sign in fail HOT 4
- Don't save session file after login HOT 2
- Sign in with Google temporarily disabled for this app HOT 1
- token not loaded when login is Successfully HOT 1
- macOS: Failed to mount /mntpoint: Resource busy (os error 16) HOT 1
- gcsf cache HOT 1
- Problem installing on Mac with macFUSE
- Readme setup instructions for headless login are outdated HOT 1
- OOB is blocked HOT 1
- Extremely slow performance
- macOS Issue
- error while installing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gcsf.