Giter VIP home page Giter VIP logo

self-published-geo's Introduction

draft-self-published-geo

IETF document for experimental means whereby IP address owners/maintainers can self-publish geolocation information for interested consumers.

This document has been published as RFC 8805.

self-published-geo's People

Contributors

ekline avatar panmari avatar wkumari avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

self-published-geo's Issues

RFC 4180 cited as normative but not actually respected

RFC 4180 (CSV) mandates things like fixed number of commas, whereas the document current is loose about this (says it's optional).

Possible Resolutions:

[1] make commas mandatory, or
[2] make 4180 informative.

Given the existing deployed formats and parsers we should probably choose option 2.

alpha2iso should allow non-conforming (EU) codes

Minor nit, can you modify the paragraph about the semantic intent and conformance for alpha2iso to permit use of EU? It's in the reserved/exceptional set, arguably this is "ok" as-is and you can close the file. https://www.iso.org/obp/ui/#iso:code:3166:EU puts it "off to one side" of the official countryCode list.

A nit-picker might disagree. But equally, not. I'm fine if you choose to close this with a sigh.

minor nit: can you revise the code example

865c865
<       if not self._IsCountryCode2Correct(fields[1]):
---
>       if not self._IsAlpha2CodeCorrect(fields[1]):
907,908c907,908
<   def _IsCountryCode2Correct(self, country_code_2):
<     if len(country_code_2) == 0:
---
>   def _IsAlpha2CodeCorrect(self, alpha_2_code):
>     if len(alpha_2_code) == 0:
910c910
<     if len(country_code_2) != 2 or not country_code_2.isalpha():
---
>     if len(alpha_2_code) != 2 or not alpha_2_code.isalpha():
924c924
<     if not self._IsCountryCode2Correct(parts[0]):
---
>     if not self._IsAlpha2CodeCorrect(parts[0]):

reclassify as Informational

The original classification (from back in ~2012) was Experimental. But given that we're documenting a format already in use (since before the original document was posted), Informational is probably a better classification.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.