Skip to content

Conversation

@mstilkerich
Copy link
Contributor

Support filtering returned address object properties in multiget report

Analog to addressbook-query report, multiget also supports returning only partial address objects. This can be useful to carddav clients to have fast syncs by excluding large properties like PHOTO and fetching those only when needed.

According to RFC 4918, there is two types of response elements:

Type 1 contains one or more href and one status child elements.

Type 2 contains one href and one or more propstat child elements.

Both types may contain further optional elements.

For Type 1, sabre/dav inserts a spurious propstat element, which
violated the element definition by RFC 4918.
Analog to addressbook-query report, multiget also supports returning
only partial address objects. This can be useful to carddav clients to
have fast syncs by excluding large properties like PHOTO and fetching
those only when needed.
@codecov
Copy link

codecov bot commented Nov 21, 2020

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.11%. Comparing base (b903eee) to head (b52596e).
Report is 190 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1310      +/-   ##
============================================
- Coverage     97.14%   97.11%   -0.03%     
  Complexity     2793     2793              
============================================
  Files           174      174              
  Lines          8119     8121       +2     
============================================
  Hits           7887     7887              
- Misses          232      234       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant