Skip to content

Commit

Permalink
Format document
Browse files Browse the repository at this point in the history
  • Loading branch information
rk0cc committed Feb 1, 2024
1 parent 3114cc2 commit f664d32
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions model/lib/src/content_type_verifier.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import 'package:path/path.dart' as p;
import 'fetch/fetch.dart';
import 'model/url.dart';


/// Determine the content type category from MIME.
enum ContentTypeCategory {
/// Audio files
Expand Down Expand Up @@ -149,7 +148,7 @@ extension IteratedUrlInfoContentTypeResolver on Iterable<UrlInfo> {
/// The condition of returned [ContentTypeCategory] will be depended on
/// given extendion from [Uri.path] first. If not offered, it will
/// try to find `Content-Type` in HTTP response header by making HTTP HEAD request.
///
///
/// This features will not be availabled during test and [UnsupportedError]
/// will be thrown if attempted.
Stream<UrlInfoContentTypeResult> determineContentTypes() async* {
Expand Down
3 changes: 2 additions & 1 deletion model/lib/src/fetch/producer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ final class _MetaFetchProducer extends MetaFetch {
_MetaFetchProducer() : super._();

@override
OgHrefClient _createClient(bool? redirectOverride) => OgHrefClient(redirectOverride ?? allowRedirect);
OgHrefClient _createClient(bool? redirectOverride) =>
OgHrefClient(redirectOverride ?? allowRedirect);
}

0 comments on commit f664d32

Please sign in to comment.