Skip to content

mesh-1943: support mex-content-type#55

Merged
matt-mercer merged 1 commit into
developfrom
mm-mesh-1943-mex-content-type
Jan 9, 2024
Merged

mesh-1943: support mex-content-type#55
matt-mercer merged 1 commit into
developfrom
mm-mesh-1943-mex-content-type

Conversation

@matt-mercer

Copy link
Copy Markdown
Contributor

No description provided.

@matt-mercer matt-mercer requested a review from a team as a code owner January 8, 2024 21:37
@github-actions

github-actions Bot commented Jan 8, 2024

Copy link
Copy Markdown
Contributor

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
661 551 83% 70% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
mesh_client/init.py 90% 🟢
TOTAL 90% 🟢

updated for commit: 57376c6 by action🐍

@sonarqubecloud

sonarqubecloud Bot commented Jan 8, 2024

Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed

The SonarCloud Quality Gate passed, but some issues were introduced.

1 New issue
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

Comment thread mesh_client/__init__.py
chunk, chunk_count = map(int, headers.get("Mex-Chunk-Range", "1:1").split(":"))

if not hasattr(self, "content_type") or not self.content_type: # type: ignore[has-type]
# try and get content_type from Mex-Content-Type first, but fallback to request content type if not set

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this comment relevant here? We're just setting whatever was decided in _headers_for_chunk()

@matt-mercer matt-mercer merged commit 76a741c into develop Jan 9, 2024
@matt-mercer matt-mercer deleted the mm-mesh-1943-mex-content-type branch January 9, 2024 10:18
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.

2 participants